<?xml version="1.0" encoding="UTF-8"?>

<!--
    Document   : NhadatXSL.xsl
    Created on : March 2, 2012, 7:53 PM
    Author     : huanht
    Description:
        Purpose of transformation follows.
-->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="html"/>

    <!-- TODO customize transformation rules 
         syntax recommendation http://www.w3.org/TR/xslt 
    -->
    <xsl:template match="/">
        
        <html>
            
            <head>
                <title>NhadatXSL.xsl</title>
                <link rel="stylesheet" type="text/css" href="style.css"/>
                <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
            </head>
            <body>
                
                <div id="wrapper">
                    <div id="header">
                        <div id="logo">
                                <h1><a href="#">Nhà Đất</a></h1>
                        </div>
                        <div id="menu">
                                <ul>
                                        <li class="first current_page_item"><a href="#">Trang Chủ</a></li>
                                        <li><a href="#">Tin Nổi Bật</a></li>
                                        <li><a href="#">Tin Mới</a></li>
                                        <li><a href="#">Thông Tin Cty</a></li>
                                        <li class="last"><a href="#">Liên Hệ</a></li>
                                </ul>
                                <br class="clearfix" />
                        </div>
                    </div>

                    <div id="page">
                            <div id="content">
                                <div class="box">
                                    <div style="border:1px solid black; padding-left:20px; padding-bottom:20px; ">
                                    <center>
                                    Tìm Kiếm<br/>
                                    </center>
                                    Địa Điểm: <br/>
                                    <select name="ddlDiadiem" value="Chọn địa điểm thích hợp" title="Chọn địa điểm thích hợp">
                                        <xsl:for-each select="root/khuvuc">

                                            <option><xsl:value-of select="tinhthanh"/> - <xsl:value-of select="quanhuyen"/></option>
                                        </xsl:for-each>

                                    </select><br/>
                                    Loai Nhà: <br/>
                                    <select name="ddlDiadiem" value="Chọn địa điểm thích hợp" >
                                        <xsl:for-each select="root/loainha">

                                            <option><xsl:value-of select="loainha"/></option>
                                        </xsl:for-each>

                                    </select>
                                    </div>
                                </div>
                            </div>
                            <div id="sidebar">
                                <div class="box">
                                    
                                        <center>Đăng Nhập<br/></center>
                                        <form action="login.do" method="POST">
                                            Tên Đăng Nhập: <input type="text" name="tendangnhap" value=""/><br/>
                                            Mật Khẩu     : <input type="password" name="matkhau" value=""/><br/>
                                            <input type="submit" name="btnLogin" value="Đăng Nhập"/>
                                        </form>
                                    
                                </div>

                            </div>
                       
                    </div>
                </div>

                <div id="footer">
                    Copyright (c) 2012 Sitename.com. All rights reserved. Design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.
                </div>
            </body>
        </html>
    </xsl:template>

</xsl:stylesheet>
